Skip to content

fix(proof): expose read completeness - #254

Draft
toeknee-figma wants to merge 1 commit into
mainfrom
stack/toeknee-figma/fix/proof-read-completeness/expose-read-completeness--4cbd9019
Draft

fix(proof): expose read completeness#254
toeknee-figma wants to merge 1 commit into
mainfrom
stack/toeknee-figma/fix/proof-read-completeness/expose-read-completeness--4cbd9019

Conversation

@toeknee-figma

Copy link
Copy Markdown
Collaborator

Add complete and cap_reasons to every Proof read envelope. Derive the JSON fields, digest header, and summary from the same state so pagination and hard caps cannot disagree.

Keep pagination out of cap_reasons; page.has_more and its cursor describe it. Report primary record, displayed edge, and byte caps as stable, duplicate-free values.

Tests:

  • pnpm verify

Fixes #252

Add `complete` and `cap_reasons` to every Proof read envelope. Derive the JSON fields, digest header, and summary from the same state so pagination and hard caps cannot disagree.

Keep pagination out of `cap_reasons`; `page.has_more` and its cursor describe it. Report primary record, displayed edge, and byte caps as stable, duplicate-free values.

Tests:
- `pnpm verify`

Fixes #252

Change-Id: I4cbd9019dd5ef042482e5e5824211dc95d1e1592
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

proof: expose completeness and cap reasons in read envelopes

1 participant